const promise = new Promise((resolve, reject) => {
  console.log(promise)
  setTimeout(() => {
    resolve(1)
  }, 1000)
})

setTimeout(() => {
  console.log(promise)
}, 1500)